import javax.swing.*;
import javax.swing.border.LineBorder;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class test {
	public static void main(String[] args)
	{
		JFrame mainframe = new JFrame("HE");
		mainframe.setSize(800, 800);
		String[] head = {"1","2","44"};
		JTable tbl = new JTable(new String[4][3],head);
		tbl.setSize(new Dimension(500,500));
		mainframe.getContentPane().add(tbl);
		
		mainframe.setVisible(true);
	}
}
